﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SubstringCountClient
{
    class SubstringCountClient
    {
        static void Main(string[] args)
        {
            ServiceSubstringCountClient client = new ServiceSubstringCountClient();
            string pattern = "abc";
            string text = "abcaabcabcbc";
            int expected = 3;
            int actual = client.GetCount(pattern, text);
            if (expected == actual)
            {
                Console.WriteLine("It Works!");
            }
        }
    }
}
